package com.iris.live.services.services.impl;

import com.iris.live.services.data.repositories.QueryExhibitionRepository;
import com.iris.live.services.services.ExcebitionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * Created by ThinkPad on 2016/9/19.
 */

@Service
@Transactional//(readOnly = true)
public class ExcebitionServiceImpl implements ExcebitionService {
    @Autowired
    private QueryExhibitionRepository queryExhibitionRepository;
    @Override
    public List getListGusetEntry(String permit,String entryTime) {
        List list=this.queryExhibitionRepository.getInshopClientRecord(permit,entryTime);
        return list;
    }
}
